package com.example.注解和反射.annotation;

import java.lang.annotation.*;

public class Test01 {

    @MyAnnotation
    public void test(){

    }
}

@Target(value= {ElementType.METHOD,ElementType.TYPE})
@Retention(value= RetentionPolicy.RUNTIME)

@interface MyAnnotation{

}
